package com.nbot.server.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.nbot.server.mapper.master.RelevancealarmMapper;
import com.nbot.server.domain.RelevancealarmDO;
import com.nbot.server.service.RelevancealarmService;



@Service
public class RelevancealarmServiceImpl implements RelevancealarmService {
	@Autowired
	private RelevancealarmMapper relevancealarmMapper;
	
	@Override
	public RelevancealarmDO get(Long autoid){
		return relevancealarmMapper.get(autoid);
	}
	
	@Override
	public List<RelevancealarmDO> list(Map<String, Object> map){
		return relevancealarmMapper.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return relevancealarmMapper.count(map);
	}
	
	@Override
	public int save(RelevancealarmDO relevancealarm){
		return relevancealarmMapper.save(relevancealarm);
	}
	
	@Override
	public int update(RelevancealarmDO relevancealarm){
		return relevancealarmMapper.update(relevancealarm);
	}
	
	@Override
	public int remove(Long autoid){
		return relevancealarmMapper.remove(autoid);
	}
	
	@Override
	public int batchRemove(Long[] autoids){
		return relevancealarmMapper.batchRemove(autoids);
	}

	@Override
	public List<RelevancealarmDO> listAllPoint() {
		return relevancealarmMapper.listAllPoint();
	}

	@Override
	public List<RelevancealarmDO> standardIsNotNull() {
		return relevancealarmMapper.standardIsNotNull();
	}

}
